package com.fhs.easycloud.anno;

import com.fhs.easycloud.proxy.RemoteClientsRegistrar;
import org.springframework.context.annotation.ComponentScan;
import org.springframework.context.annotation.Import;

import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;

@Retention(RetentionPolicy.RUNTIME)
@Target({ ElementType.TYPE})
@Import(RemoteClientsRegistrar.class)
@ComponentScan(basePackages = "com.fhs.easycloud")
public @interface EnableEasyCloud {
    /**
     * 扫描的包
     * @return
     */
    String[] basePackages();
}
